Use same hash function for hashfn_profiler as for hash_string etc.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Nov 2012 21:43:34 +0000 (13:43 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Nov 2012 21:43:34 +0000 (13:43 -0800)
commit65b2edca7f34b91de31d12b11490bb6a5b31cc05
tree924ac79e6a0d747dd46bd635221aee8140242838
parent3c767e7f8722c44d09b47a238773bb0215e3e052
Use same hash function for hashfn_profiler as for hash_string etc.

* fns.c (SXHASH_COMBINE): Remove.  All uses replaced by sxhash_combine.
* lisp.h (sxhash_combine): New inline function, with the contents
of the old SXHASH_COMBINE.
* profiler.c (hashfn_profiler): Use it, instead of having a
special hash function containing a comparison that always yields 1.
src/ChangeLog
src/fns.c
src/lisp.h
src/profiler.c